/* 滚动条样式1(黑色) */
.scrollpro::-webkit-scrollbar {
  // 滚动条整体部分
  width: 4px;
  height: 4px;
}

.scrollpro::-webkit-scrollbar-track {
  // 滚动条的轨道
  background: #1b202c;
  border-radius: 2px;
}

.scrollpro::-webkit-scrollbar-thumb {
  // 滚动条里面的小方块
  background: #504f4f;
  border-radius: 10px;
}

.scrollpro::-webkit-scrollbar-thumb:hover {
  // 鼠标移上滚动条小方块
  background: #333;
}

.scrollpro::-webkit-scrollbar-corner {
  // 边角，即两个滚动条的交汇处
  background: #1b202c;
}

/* 滚动条样式2(灰色) */
.scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.scrollbar::-webkit-scrollbar-track {
  background: #d8d8da;
  border-radius: 2px;
}

.scrollbar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgb(163, 162, 162);
}

.scrollbar::-webkit-scrollbar-corner {
  background: rgb(163, 162, 162);
}

/*  超出的文本隐藏 */
.line-1 {
  overflow: hidden; // 超出的文本隐藏
  text-overflow: ellipsis; // 溢出用省略号显示
  white-space: nowrap; // 溢出不换行
}

.line-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* --------------------------------------------------------- 分割线 --------------------------------------------------------- */

/* 左侧选中tab样式 */
.systemItem>.el-menu-item {
  &:hover {
    background: #F3F4F8;
  }
}

.el-menu {
  height: 100%;
  border-right: none !important;

  .el-menu-item.is-active {
    background: #F3F4F8;
  }

  .el-sub-menu__title {
    color: #35353F;

    &:hover {
      background: #F3F4F8;
    }
  }

  .el-menu-item {
    color: #999;
    font-size: 14px;

    p {
      color: #333;
    }

    // &:hover {
    //   span {
    //     color: #2C83E4;
    //   }
    // }
  }

  .el-menu-item:hover {
    color: #2C83E4;
    background: #F3F4F8;
  }
}

/* 隐藏文字 */
.el-menu--collapse {
  .el-sub-menu__title {
    i {
      display: none;
    }
  }

  .el-menu-item {
    p {
      display: none;
    }
  }
}

/* el-tabs组件tab切换样式 */
.el-tabs {
  .el-tabs__active-bar {
    // width: 45px !important;
    height: 4px !important;
    background-color: $bgColoe2C83E4 !important;
    border-radius: 20px;
    // margin-left: 6px!important;
  }

  .el-tabs__item {
    margin: 0 28px 0 16px !important;
  }

  .is-active {
    span {
      color: $color2C83E4;
      font-weight: 600;
    }
  }
}

// table表格
.el-table {
  .el-table__header {
    .el-table__cell {
      padding: 15px 0;

      .cell {
        font-size: 15px;
      }
    }
  }

  .noHiddle {
    .cell {
      overflow: inherit;
    }
  }

  .el-table__body {
    .el-table__cell {
      padding: 20px 0;
    }
  }

  .el-popper {
    max-width: 500px !important;
    font-size: 14px;
  }
}


// 分页居中
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px 0;
}

// from表单布局
.fromLabel {
  padding: 0 16px;

  .labelItem {
    margin-bottom: 28px;
    display: flex;

    .term {
      flex: 1;
      margin-right: 24px;

      &:nth-last-child(1) {
        margin-right: 0;
      }

      .label {
        font-size: 16px;
        margin-bottom: 5px;

        i {
          font-size: 12px;
          color: $color999999;
        }
      }

      .flexCont {
        display: flex;
        align-items: center;

        .dropdown {
          border: 1px solid #D8D8D8;
          height: 40px;
          margin-right: 8px;
          border-radius: 4px;
          display: flex;
          align-items: center;

          .dropdownText {
            height: 40px;
            display: flex;
            align-items: center;

            .text {
              height: 100%;
              line-height: 40px;
              display: inline-block;
              padding: 0 12px;
              border-right: 1px solid #D8D8D8;
            }

            .icon {
              padding: 0 2px;
            }
          }
        }
      }
    }
  }

  .labelBtn {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;

    .btn {
      width: 100px;
      margin-left: 16px;

      &:nth-child(1) {
        margin-left: 0;
      }
    }

    .default {
      color: #2c83e4;
      border: 1px solid #2c83e4;
    }
  }
}

// 轮播图标识点
.lunboBox {
  .el-carousel {
    .el-carousel__indicators--horizontal {
      bottom: 50px;

      .el-carousel__button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
      }
    }
  }
}

.el-date-editor.el-input,
.el-date-editor.el-input__wrapper {
  width: 100% !important;
}

.itemSpan {
  padding: 0 16px;
  font-size: 16px;
}

// 上传图片自定义样式
.uploadBtn {
  width: 210px;
  height: 136px;
  background: #ededed;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  span {
    color: $color9E9E9E;
    margin-top: 5px;
  }
}

.uploadListImg {
  display: flex;

  .uploadImg {
    position: relative;
    background: #ededed;
    width: 210px;
    height: 136px;

    .image {
      width: 100%;
      height: 100%;
    }

    .hoverIcon {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease 0s;

      .outIcon {
        transition: all 0.3s ease 0s;
        opacity: 0;
        padding: 0 8px;
        cursor: pointer;
      }

      &:hover {
        background-color: rgba(0, 0, 0, 0.4);

        .outIcon {
          opacity: 1;
        }
      }
    }
  }
}

// 暂无信息
.noList {
  text-align: center;
  margin-top: 180px;

  img {
    width: 600px;
    height: 370px;
  }

  .textTip {
    margin-top: 16px;
    font-size: 16px;
  }
}

// 弹出窗口自定义头部样式
.el-dialog {
  .el-dialog__header {
    border-bottom: 1px solid #D4D4D4;
    margin: 0;
    padding: 16px;
  }

  .el-dialog__body {
    color: $color35353F;
    padding: 20px;
  }

  .myDialogHeader {
    display: flex;
    justify-content: space-between;

    .el-dialog__title {
      flex: 1;
      color: #35353f;
      font-weight: 600;
      font-size: 20px;
      letter-spacing: 2px;
      text-align: center;
      transform: translateX(10px);
    }

    .close {
      z-index: 999;
      cursor: pointer;
    }
  }
}


.bgCol1 {
  background-color: $bgColor2C83E4;
}

.bgCol2 {
  background-color: $bgColorF05E5E;
}

.bgCol3 {
  background-color: $bgColor8D8D8D;
}

.bgCol4 {
  background-color: $bgColorED7B07;
}

.bgCol5 {
  background-color: $bgColor08C856;
}

.bgCol6 {
  background: #F9E2C0;
}

.bgCol7 {
  background: #ACB9FD;
}

.bgCol8 {
  background: #D9F7E5;
}

.bgCol9 {
  background: #ffafaf;
}

.color1 {
  color: $color2C83E4 !important;
}

.color2 {
  color: $colorF05E5E !important;
}

.color3 {
  color: $color8D8D8D !important;
}

.color4 {
  color: $colorED7B07 !important;
}

.color5 {
  color: $color3ABF70 !important;
}

// 四种状态
// 通过
.sts1 {
  background: #d9f7e5 !important;
  color: #3abf70 !important;
}

// 审核中
.sts2 {
  color: #ed7b07 !important;
  background: #fff2e5 !important;
}

// 驳回
.sts3 {
  color: #ff4646 !important;
  background: #ffe3e3 !important;
}

.stsCol3 {
  color: #ff4646 !important;

  &::after {
    background-color: #ff4646 !important;
  }
}

// 草稿
.sts4 {
  color: #999999 !important;
  background: #ededed !important;
}

/* --------------------------------------------------------- 分割线 --------------------------------------------------------- */

/* input搜索kuang */
.labScach {
  min-width: 200px;
  height: 38px;
  flex: 1;
  width: 0;
  position: relative;

  input {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #d8d8d8;
    padding: 0 40px 0 10px;
  }

  .searchIcon {
    position: absolute;
    right: 10px;
    top: 10px;
  }
}

.el-select {
  width: 100%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

//firefox要用如下代码才能实现隐藏
input[type="number"] {
  -moz-appearance: textfield;
}

/* 自定义公共使用样式 */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-sizing: content-box;
  height: 100%;
  border-radius: 4px;
  background-color: $bgColorFFFFFF;
  transition: all 0.2s ease 0s;
  padding: 0 16px;
  cursor: pointer;
}

// 通过审核
.btn.success {
  min-width: 90px;
  height: 38px;
  background-color: $bgColor3ABF70;
  color: $colorFFFFFF;
  font-weight: 600;

  &:hover {
    background-color: #46D480;
  }
}

// 返回修改
.btn.warning {
  min-width: 90px;
  height: 38px;
  background-color: $bgColorF05E5E;
  color: $colorFFFFFF;
  font-weight: 600;

  &:hover {
    background-color: #F67979;
  }
}

// 导入文件
.btn.info {
  min-width: 90px;
  height: 38px;
  background-color: $bgColor2C83E4;
  color: $colorFFFFFF;
  font-weight: 600;

  &:hover {
    background-color: #509BF0;
  }
}

// 查看报表 
.btn.default {
  min-width: 90px;
  height: 38px;
  background-color: $bgColorFFFFFF;
  color: $color999999;
  border: 1px solid $bdcolorBEBEBE;
  font-weight: 600;

  &:hover {
    color: $color2C83E4;
    background-color: $bgColorECF5FF;
    border: 1px solid $bdColorC6E2FF;
  }
}


.screenContainer1111 {
  position: relative;
  width: 100%;

  .title {
    font-size: 24px;
    padding: 14px 0;
    font-weight: 600;
    color: #2C83E4;
  }

  .label {
    // width: 80px;
  }

  .screenItem {
    display: flex;
    align-items: center;
    min-height: 64px;

    .inputCont {
      display: flex;
      align-items: center;
      width: 360px;
      margin-right: 26px;
    }
  }

  .liconTran {
    height: 0;
    transition: all 0.5s ease 0s;
    overflow: hidden;
  }

  .liconHeight {
    height: auto;
  }

  .levelList {
    display: flex;
    min-height: 64px;
    padding: 20px 0 10px 0;

    .oneLevel {
      display: flex;
      flex-wrap: wrap;
      flex: 1;
      width: 0;
      color: $color999999;

      .levelItem {
        margin-right: 12px;
        padding: 4px 12px;
        height: 26px;
        border-radius: 2px;
        line-height: 18px;
        cursor: pointer;
        margin-bottom: 10px;
      }

      .active {
        background-color: $bgColor2C83E4;
        color: $colorFFFFFF;
      }
    }
  }

  .levelTime {
    align-items: center;

    .oneLevel {
      display: flex;
      align-items: center;

      .levelItem {
        margin-bottom: 0;
      }
    }
  }

  .levelBtn {
    display: flex;
    justify-content: center;
    color: $color999999;
    font-size: 16px;

    .levenOpen {
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;

      span {
        margin-right: 4px;
      }

      .levenRotate {
        transform: rotate(180deg);
      }
    }
  }

  .leadingInBtn {
    position: absolute;
    bottom: 12px;
    right: 0;
    border-radius: 4px;

    .tit {
      font-size: 32px;
      font-weight: 600;
      margin-bottom: 26px;
      color: $color35353F;
    }

    .btn {
      .uploadIcon {
        margin-right: 10px;
      }
    }
  }

  .infoBgCol {
    background-color: #3abf70;
  }
}

/* --------------------------------------------------------- 分割线 --------------------------------------------------------- */